package cn.wolfcode.luowowo.repository;

import cn.wolfcode.luowowo.domain.TravelComment;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TravelCommentRepository extends MongoRepository<TravelComment, String>{
    List<TravelComment> findAllByTravelId(String travelId);
}
